﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace _18miljard.Partners
{
	public enum LinkType
	{
		Banner,
		Text
	}

	public class Partner
	{
		string href;
		string banner;
		string alt;
		string text;
		string prefix;
		string suffix;
		LinkType linkType;

		public Partner(string href, string banner, string alt)
		{
			this.href = href;
			this.banner = banner;
			this.alt = alt;
			this.linkType = LinkType.Banner;
		}

		public Partner(string href, string text, string prefix, string suffix)
		{
			this.href = href;
			this.text = text;
			this.prefix = prefix;
			this.suffix = suffix;
			this.linkType = LinkType.Text;
		}

		public string Href
		{
			get { return this.href; }
		}

		public string Banner
		{
			get { return this.banner; }
		}

		public string Alt
		{
			get { return this.alt; }
		}

		public string Text
		{
			get { return this.text; }
		}

		public string Prefix
		{
			get { return this.prefix; }
		}

		public string Suffix
		{
			get { return this.suffix; }
		}

		public LinkType LinkType
		{
			get { return this.linkType; }
		}
	}
}